@base-size: 50px;

.container {
  padding-bottom: 2 * @spacing;
  margin: 2 * @spacing @spacing;
  &:not(:last-child) {
    border-bottom: 1px solid @border-color-gray;
  }
}

.header_content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  .avatar {
    width: @base-size;
    height: @base-size;
    border-radius: 50%;
    background: @gray-bg center/cover no-repeat;
  }

  .content {
    flex: 1;
    margin: 0 @spacing;

    .info {
      margin-bottom: 0.5em;
      color: @text-color;
      font-size: 14px;
      line-height: 1.25;
      font-size: 14px;
    }

    .title {
      font-size: 16px;
      color: @active-color;
      word-break: break-all;
      line-height: 1.25;
    }
  }

  .follow {
    display: flex;
    align-items: center;
    height: @base-size;
    color: @theme-color;
    font-size: 14px;

    img {
      width: 14px;
      margin-right: 0.25em;
    }
  }

  .menu {
    padding-left: 2 * @spacing;
    height: @base-size;
    line-height: @base-size;
    img {
      width: 14px;
    }
  }
}

// 視頻
.video_wrapper {
  margin: @spacing 0;
  height: 50vw;
  background-color: #000;

  :global {
    // 播放按鈕居中
    .video-js .vjs-big-play-button {
      position: absolute;
      left: 50%;
      top: 50%;
      background-color: transparent;
      border-width: 0;
      transform: translate(-50%, -50%);
    }

    // 即使暫時,也顯示播放按鈕
    .vjs-paused .vjs-big-play-button,
    .vjs-paused.vjs-has-started .vjs-big-play-button {
      display: block;
    }

    // 點擊屏幕可以播放/暫停
    .video-js.vjs-playing .vjs-tech {
      pointer-events: auto;
    }
  }
}

// 評論
.comments_wrapper {
  display: flex;
  align-items: center;
  margin: 0.5 * @spacing 0;
  font-size: 14px;

  .avatar {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-right: 0.5em;
    border-radius: 50%;
    background: @gray-bg center/cover no-repeat;
  }

  .text {
    &:extend(.ellipsis);
    flex: 1;
    color: @text-color;
  }
}
